<ul id="projectList">
{% for p in projects %}
    <li class="{% if forloop.counter == 1 %} active{% endif %}"><a href="#project{{ p.key }}" onclick="showProject(event, 'project{{ p.key }}');">{{ p.title }}</a></li>
{% endfor %}
</ul>
